-- GENERATED SPELL FOR [Seasoned Coldmine Guard] --


function spell0_13534(pUnit, Event) --@Backhand,n/a--
pUnit:FullCastSpellOnTarget(6253,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13534', 2345, 1)
end

function spell1_13534(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(15580,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13534', 543, 1)
end

function Sorts_13534(pUnit, Event)
local choix_sorts_13534 = math.random(0, 1)
if choix_sorts_13534 == 0 then
pUnit:RegisterEvent('spell0_13534', 1, 1)
end
if choix_sorts_13534 == 1 then
pUnit:RegisterEvent('spell1_13534', 1, 1)
end
end

function mob13534_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13534', math.random(1500, 3000), 1)
end

function mob13534_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13534_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13534_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13534, 1, 'mob13534_Action')
RegisterUnitEvent(13534, 2, 'mob13534_Leave')
RegisterUnitEvent(13534, 3, 'mob13534_Kill')
RegisterUnitEvent(13534, 4, 'mob13534_Die')
